<?php 
$companyid=$session->read("companyid");
$user=$session->read('User');
?>
<?php echo $html->css('kindeditor/');?>
<?php echo $javascript->link('kindeditor/kindeditor.js');?>
<?php echo $javascript->link('kindeditor/lang/zh_CN.js');?>
<?php echo $javascript->link('kindeditor/plugins/code/prettify.js');?>
<script>
function drop_up_down(slide_btn) {
	
	var infodisplay=$(slide_btn).parent().parent().next().attr("style");
	if(infodisplay==null){
		$(slide_btn).parent().parent().next().attr("style","display:none");
		$(slide_btn).parent().parent().next().next().attr("style","display:block");
		$(slide_btn).parent().next().attr("style","display:none");
	}else if(infodisplay.indexOf("block")>-1){
		$(slide_btn).parent().parent().next().attr("style","display:none");
		$(slide_btn).parent().parent().next().next().attr("style","display:block");
		$(slide_btn).parent().next().attr("style","display:none");
	}else{
		$(slide_btn).parent().parent().next().attr("style","display:block");
		$(slide_btn).parent().parent().next().next().attr("style","display:none");
		$(slide_btn).parent().next().attr("style","display:block");
	}
	
	$(slide_btn).toggleClass("active");
	if($(slide_btn).text()=="取消编辑") {
		$(slide_btn).text("编辑");
	} else {
		$(slide_btn).text("取消编辑");
	}
}

KindEditor.ready(function(K) {
	<?php 
	echo $fck->load('CompTrackinfo.progress');

	?>
	prettyPrint();
	});


</script>
<?php echo $form -> create('Company', array('url' => '/companys/edittrackinfo/edit','type'=> 'post'));?>	
<div class="right_side_operate_area">
	<div class="right_side_title left">
		<h2>
		<?php 
		$companyname=$session->read("companyname");
		$companyid=$session->read("companyid");
		echo $html->link($companyname,"/companys/showinfosummary/".$companyid);
		?>
		</h2>
		<div class="clear"></div>
	</div>
    <div class="right back_btn users_form">
        <?php  echo $form->hidden('CompTrackinfo.id'); ?>
    </div>
    <div class="clear"></div>
</div>
<div class="right_side_scollbar">
    <div class="detail_info_panel">
    	<div class="corp_info_panel" style="width:80%">
	    	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">应用领域</div>
		 			<div class="right title_drop_u_d"  style="visibility:visible">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.progress',array('style'=>'width:100%;height:300px;visibility:visible;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.progress')) ?>
		 		</div>
		 	</div>
		 	<!--  
		 	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">场所落实情况</div>
		 			<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.place',array('style'=>'width:100%;height:300px;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.place')); ?>
		 		</div>
		 	</div>
		 	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">办公场所装修情况</div>
		 			<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.decoration',array('style'=>'width:100%;height:300px;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.decoration')); ?>
		 		</div>
		 	</div>
		 	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">设备到位、调试、完善情况</div>
		 				<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
	 			</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.device',array('style'=>'width:100%;height:300px;'));?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.device')); ?>
		 		</div>
		 	</div>
	 	</div>
	 	<div class="corp_info_panel">
	 		<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">人员招聘、团队建设情况</div>
		 			<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.employee',array('style'=>'width:100%;height:300px;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.employee')); ?>
		 		</div>
		 	</div>
		 	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">研发经费到位与使用情况</div>
		 			<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.funding',array('style'=>'width:100%;height:300px;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.funding')); ?>
		 		</div>
		 	</div>
		 	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">项目申报进展情况及取得成果</div>
		 			<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.declarations',array('style'=>'width:100%;height:300px;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.declarations')); ?>
		 		</div>
		 	</div>
		 	<div class="category_file_block">
		 		<div class="category_title">
		 			<div class="left">项目存在的问题和主要困难</div>
		 			<div class="right title_drop_u_d">
		 				<a href="javascript:void(0);" onclick="drop_up_down(this)">编辑</a>
		 			</div>
		 			<div class="right users_form" style="display:none;">
		 				<input type="submit" value="保存"/>
		 			</div>
		 			<div class="clear"></div>
		 		</div>
		 		<div class="file_list_panel file_list_edit_panel" style="display:none;">
			 		<?php
			 			echo $form->textarea('CompTrackinfo.issue',array('style'=>'width:100%;height:300px;'));
			 		?>
		 		</div>
		 		<div class="file_list_panel">
		 			<?php echo $str->setinfo($form->value('CompTrackinfo.issue')); ?>
		 		</div>
		 	</div>
		 	
		 	-->
		 </div>
	</div>
</div>
</form>